﻿/* 2009 by Mario Meir-Huber
 * mario@meirhuber.de
 * http://www.meirhuber.de
 */

using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ZoomPanelTestApplication
{
    public partial class Page : UserControl
    {
        public Page()
        {
            InitializeComponent();
        }

        private void Button_Click(object sender, RoutedEventArgs e)
        {
            Zoom.Orientation = ZoomPanel.Orientation.HorizontalTop;
        }

        private void Button_Click_1(object sender, RoutedEventArgs e)
        {
            Zoom.Orientation = ZoomPanel.Orientation.HorizontalCenter;
        }

        private void Button_Click_2(object sender, RoutedEventArgs e)
        {
            Zoom.Orientation = ZoomPanel.Orientation.HorizontalBottom;
        }

        private void Button_Click_3(object sender, RoutedEventArgs e)
        {
            Zoom.Orientation = ZoomPanel.Orientation.VerticalLeft;
        }

        private void Button_Click_4(object sender, RoutedEventArgs e)
        {
            Zoom.Orientation = ZoomPanel.Orientation.VerticalCenter;
        }

        private void Button_Click_5(object sender, RoutedEventArgs e)
        {
            Zoom.Orientation = ZoomPanel.Orientation.VerticalRight;
        }
    }
}
